Package com.cisco.pt.ipc.sim.impl
Class ParserViewManagerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.ParserViewManagerImpl
- All Implemented Interfaces:
IPCObject,ParserViewManager,Process
Information provided by the PKI file:
\class ParserViewManager
\brief ParserViewManager manages and manipulates the parser view.
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionParserViewManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanInformation provided by the PKI file:Information provided by the PKI file:getViewAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:booleanremoveView(String viewName) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
ParserViewManagerImpl
public ParserViewManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
addView
Information provided by the PKI file:
\brief Adds a view with the specified name. \param viewName, the name for the view. \return bool, true if successful, otherwise false.- Specified by:
addViewin interfaceParserViewManager- Parameters:
viewName- Takes in a parameter of viewName- Returns:
- boolean Returns a boolean
-
removeView
Information provided by the PKI file:
\brief Removes the view the specified name. \param viewName, the name of the view. \return bool, true if successful, otherwise false.- Specified by:
removeViewin interfaceParserViewManager- Parameters:
viewName- Takes in a parameter of viewName- Returns:
- boolean Returns a boolean
-
getViewCount
public int getViewCount()Information provided by the PKI file:
\brief Returns the number of views. \return int, the number of views.- Specified by:
getViewCountin interfaceParserViewManager- Returns:
- int Returns a int
-
getViewAt
Information provided by the PKI file:
\brief Returns the view at the specified index. \param index, the index of the view of interest. \return ParserView, the ParserView object at the specified index.- Specified by:
getViewAtin interfaceParserViewManager- Parameters:
index- Takes in a parameter of index- Returns:
- ParserView Returns a ParserView
-
getView
Information provided by the PKI file:
\brief Returns the view with the specified name. \param name, the name of the view of interest. \return ParserView, the ParserView object with the specified name.- Specified by:
getViewin interfaceParserViewManager- Parameters:
name- Takes in a parameter of name- Returns:
- ParserView Returns a ParserView
-